#include <map>
#include <stdio.h>
#include <stdint.h>

int main(int argc, const char **argv) {
    using UintMap = std::map<uint32_t, uint32_t>;
    UintMap test {{1,1}, {3,3}, {5,5}};

    UintMap::const_iterator it = test.lower_bound(0);
    if (it == test.end())
    {
        printf("end\n");
    }
    else
    {
        printf("%d->%d\n", it->first, it->second);
    }

    return 0;
}
